<html>
  <head>
    <title>HTML5 osifont</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style>  
      @font-face {  
        font-family: osifont;
        src: url('osifont.ttf') format('truetype');  
      }  
      body { 
        font-family: osifont, comic-sans;
        white-space: nowrap;
      } 
    </style>
  </head>
  <body onload="fs=10;" onkeypress="document.title = event.charCode; if (event.charCode==43) fs++; if (event.charCode==45) fs--; document.body.style.fontSize = fs+'px';">
<?php
// Display all pangrams in html5

/*
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

echo "

";

$pangrams = explode("\n",file_get_contents('pangrams.txt'));
for ($i=0; $i<count($pangrams); $i++)
  echo $pangrams[$i]."<br />";  

?>
  </body>
</html>  
